﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LibNiconico.NiconicoApi.Internal;
using System.Xml.Linq;
using LibNiconico.NiconicoApi.Extentions;

namespace LibNiconico.NiconicoApi.Videos.Flv
{
    /// <summary>
    /// ニコニコ動画Flv取得レスポンス
    /// </summary>
    public sealed class NicoVideoGetFlvResponse
    {
        private NicoVideoGetFlvResponse(QueryStrings query){ }
        
        /// <summary>
        /// Flv情報
        /// </summary>
        public NicoVideoFlvInfo FlvInfo { get; private set; }

        internal static NicoVideoGetFlvResponse Parse(QueryStrings query)
        {
            NicoVideoGetFlvResponse res = new NicoVideoGetFlvResponse(query);
            res.FlvInfo = NicoVideoFlvInfo.Parse(query);
            return res;

        }

        

    }
}
